<?php /* Smarty version Smarty-3.0.8, created on 2012-10-08 22:05:09
         compiled from "G:\xampp\htdocs\gy78/template\admin/area_write.html" */ ?>
<?php /*%%SmartyHeaderCode:203965072dd95dd6863-38149987%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b7ce1cea663025d9e5484c583815a1f4e8ef6063' => 
    array (
      0 => 'G:\\xampp\\htdocs\\gy78/template\\admin/area_write.html',
      1 => 1348450476,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '203965072dd95dd6863-38149987',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("admin/header.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>	
	
			<ul id="main-nav">  <!-- Accordion Menu -->
				
				<li>
					<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'admin','a'=>'index'),$_smarty_tpl);?>
" class="nav-top-item no-submenu">控制面板</a>       
				</li>
				
				<li> 
					<a href="#" class="nav-top-item">文章</a>
					<ul>
						<li><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'post','a'=>'write'),$_smarty_tpl);?>
">撰写新文章</a></li>
						<li><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'post','a'=>'index'),$_smarty_tpl);?>
">文章管理</a></li>
						<li><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'category','a'=>'index'),$_smarty_tpl);?>
">分类管理</a></li>
					</ul>
				</li>
				
				<li>
					<a href="#" class="nav-top-item current">页面和区块</a>
					<ul>
						<li><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'page','a'=>'write'),$_smarty_tpl);?>
">撰写新页面</a></li>
                        <li><a class="current" href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'area','a'=>'write'),$_smarty_tpl);?>
">撰写新区块</a></li>
						<li><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'page','a'=>'index'),$_smarty_tpl);?>
">页面管理</a></li>
						<li><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'area','a'=>'index'),$_smarty_tpl);?>
">区块管理</a></li>
					</ul>
				</li>
				
				<li>
					<a href="#" class="nav-top-item">设置</a>
					<ul>
						<li><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'user','a'=>'edit','uid'=>$_SESSION['userinfo']['uid']),$_smarty_tpl);?>
">个人信息</a></li>
						<li><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'user','a'=>'index'),$_smarty_tpl);?>
">用户和权限</a></li>
					</ul>
				</li>      
				
			</ul> <!-- End #main-nav -->
			
		</div></div> <!-- End #sidebar -->
		
		<div id="main-content"> <!-- Main Content Section with everything -->
						
			<div class="content-box"><!-- Start Content Box -->
				
				<div class="content-box-header">
					
					<h3>编辑区块</h3>

				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
					
				  <form id="form1" name="form1" method="post" action="<?php echo $_smarty_tpl->getVariable('formUrl')->value;?>
">
					<?php if ($_smarty_tpl->getVariable('info')->value['id']!=''){?><input id="id" type="hidden" name="id" value="<?php echo $_smarty_tpl->getVariable('info')->value['id'];?>
" /><?php }?>		
							<fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
								
							  <p>
								<label>区块代码</label>
									<input class="text-input medium-input" type="text" id="title" name="title" value="<?php echo $_smarty_tpl->getVariable('info')->value['title'];?>
" /> 
							  </p>
                                <p>
									<label>区块说明</label>
									<input class="text-input medium-input" type="text" id="medium-input2" name="overview" value="<?php echo $_smarty_tpl->getVariable('info')->value['overview'];?>
" />
									<br />
								</p>

								
								<p>
<label>编辑页面内容</label>
HTML<textarea class="text-input textarea" id="textarea" name="text" cols="79" rows="15"><?php echo $_smarty_tpl->getVariable('info')->value['text'];?>
</textarea>
							  </p>
								
								<p>
									<input class="button" type="submit" value="Submit" />
								</p>
								
							</fieldset>
							
							<div class="clear"></div><!-- End .clear -->
							
						</form>
										
				</div> <!-- End .content-box-content -->
				
			</div> <!-- End .content-box --><!-- End .content-box --><!-- End .content-box -->
	    <div class="clear"></div>
<?php $_template = new Smarty_Internal_Template("admin/footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>